/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model;

/**
 *
 * @author Max
 */
public class Kante {
    
    private Knoten startKnoten;
    
    private Knoten endKnoten;
    
    private String label;
    
    public Kante(Knoten startKnoten, Knoten endKnoten, String label) {
        this.startKnoten = startKnoten;
        this.endKnoten = endKnoten;
        this.label = label;
    }
    
    public Knoten getStartKnoten() {
        return startKnoten;
    }
    
    public Knoten getEndKnoten() {
        return endKnoten;
    }
    
    public String getLabel() {
        return label;
    }

    /**
     * @param startKnoten the startKnoten to set
     */
    public void setStartKnoten(Knoten startKnoten) {
        this.startKnoten = startKnoten;
    }

    /**
     * @param endKnoten the endKnoten to set
     */
    public void setEndKnoten(Knoten endKnoten) {
        this.endKnoten = endKnoten;
    }

    /**
     * @param label the label to set
     */
    public void setLabel(String label) {
        this.label = label;
    }
}
